<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
  PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
  <title id="gj143896">pg_db_role_setting</title>
  <body>
    <p>The <codeph>pg_db_role_setting</codeph> system catalog table records the default
      values of server configuration settings for each role and database combination.</p>
    <p>There is a single copy of <codeph>pg_db_role_settings</codeph> per Greenplum
      Database cluster. This system catalog table is shared across all databases.</p>
    <p>You can view the server configuration settings for your Greenplum Database
      cluster with <codeph>psql</codeph>'s <codeph>\drds</codeph> meta-command.</p>
    <table id="gj143898">
      <title>pg_catalog.pg_db_role_setting</title>
      <tgroup cols="4">
        <colspec colnum="1" colname="col1" colwidth="131pt"/>
        <colspec colnum="2" colname="col2" colwidth="86pt"/>
        <colspec colnum="3" colname="col3" colwidth="85pt"/>
        <colspec colnum="4" colname="col4" colwidth="147pt"/>
        <thead>
          <row>
            <entry colname="col1">column</entry>
            <entry colname="col2">type</entry>
            <entry colname="col3">references</entry>
            <entry colname="col4">description</entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry colname="col1">
              <codeph>setdatabase</codeph>
            </entry>
            <entry colname="col2">oid</entry>
            <entry colname="col3">pg_database.oid</entry>
            <entry colname="col4">The database to which the setting is applicable, or
              zero if the setting is not database-specific.</entry>
          </row>
          <row>
            <entry colname="col1">
              <codeph>setrole</codeph>
            </entry>
            <entry colname="col2">oid</entry>
            <entry colname="col3">pg_authid.oid</entry>
            <entry colname="col4">The role to which the setting is applicable, or
              zero if the setting is not role-specific.</entry>
          </row>
          <row>
            <entry colname="col1">
              <codeph>setconfig</codeph>
            </entry>
            <entry colname="col2">text[]</entry>
            <entry colname="col3"/>
            <entry colname="col4">Per-database- and per-role-specific defaults for
              user-settable server configuration parameters.</entry>
          </row>
        </tbody>
      </tgroup>
    </table>
  </body>
</topic>
